<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_surplus')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-product_surplus" data-rule="required" class="form-control" name="row[product_surplus]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Stir_surplus')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-stir_surplus" data-rule="required" class="form-control" name="row[stir_surplus]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Merge_surplus')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-merge_surplus" data-rule="required" class="form-control" name="row[merge_surplus]" type="number">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Planid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-Planid" data-source="clothmaking_plan/index" class="form-control selectpage" name="row[planid]" type="text" value="">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Supplier_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input   class="form-control selectpage" name="row[supplier_id]" data-source="supplier/index" data-field="name">
        </div>
    </div>
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Nextid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-Nextid" data-rule="required" data-source="clothmaking_raw/index" class="form-control selectpage" name="row[nextid]" type="text" value="">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>